//
//  CZNetworkTool.swift
//  GZWeiboMing
//
//  Created by 1 on 16/3/26.
//  Copyright © 2016年 1. All rights reserved.
//

import UIKit
import AFNetworking

class CZNetworkTool: NSObject {
    //单例
    static let sharedInstance: CZNetworkTool = CZNetworkTool()
    
    let afnManager : AFHTTPSessionManager = AFHTTPSessionManager(baseURL: CZBaseURL)
    
    private override init() {
        super.init()
        afnManager.responseSerializer.acceptableContentTypes?.insert("text/plain")
    }
}
